#ifndef __NETINTERFACE_H_
#define __NETINTERFACE_H_



#define LWIP_STACK 1
#define LINUX      2


#define USE_STACK  LINUX

#if USE_STACK == 1
#include "lwip/sockets.h"
#include "lwip/netdb.h"
#include "string.h"
#elif USE_STACK == 2
#include <netdb.h>
#include <sys/socket.h>
#include <sys/select.h>
#include <netinet/in.h>
#include <errno.h>
#include <sys/types.h>
#include <unistd.h>
#include <string.h>
#endif

#include "ftplog.h"


#endif
